package com.zwz.mapper;

import com.zwz.entity.ConsumptionRestriction;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ConsumptionRestrictionMapper {
    int insert(ConsumptionRestriction entity);
    int update(ConsumptionRestriction entity);
    int deleteById(Integer id);
    ConsumptionRestriction selectById(Integer id);
    List<ConsumptionRestriction> selectCurrentRestrictions();
    List<ConsumptionRestriction> selectByCaseNumber(String caseNumber);
}